﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElevatorSimCSharp
{
    class Person
    {
        public static int numberOfPeopleWhoveTakenElevator = 0;
        private byte wantToGoTo;
        private int ID;

        public Person()
        {
            ID = Person.numberOfPeopleWhoveTakenElevator++;
            this.wantToGoTo = 0;
        }

        public void setWantToGoTo(byte wantToGoTo) 
        {
            this.wantToGoTo = wantToGoTo;
        }

        public short getWantToGoTo()
        {
            return wantToGoTo;
        }
    }
}
